<?xml version="1.0" ?>

<srv:container xmlns="http://symfony.com/schema/dic/monolog"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:srv="http://symfony.com/schema/dic/services"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
                        http://symfony.com/schema/dic/monolog http://symfony.com/schema/dic/monolog/monolog-1.0.xsd">

    <config>
        <handler name="custom" type="stream" path="/tmp/symfony.log" bubble="false" level="ERROR" file-permission="0666" />
        <handler name="main" type="fingers_crossed" action-level="ERROR" passthru-level="NOTICE" handler="nested" />
        <handler name="nested" type="stream" />
        <handler name="filtered" type="filter" handler="nested2">
            <accepted-level>WARNING</accepted-level>
            <accepted-level>ERROR</accepted-level>
        </handler>
        <handler name="nested2" type="stream" />
    </config>
</srv:container>
